package xyz.bali16.module.invitecode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import xyz.bali16.module.invitecode.entity.Invitation;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
@Mapper
public interface InvitationMapper extends BaseMapper<Invitation> {
    IPage<Invitation> getPage(IPage<?> page, @Param("inviterId") String inviterId, @Param("inviteeId") String inviteeId, @Param("invitationCode") String invitationCode);

}
